package com.fortune.dto.excution;

import com.fortune.base.BaseAPIExcution;
import com.fortune.enums.DSpecificationEnum;


public class DSpecificationExcution<T> extends BaseAPIExcution<T>{
    public DSpecificationExcution(T t, DSpecificationEnum dSpecificationEnum){
        this.data = t;
        this.status = dSpecificationEnum.isStatus();
        this.msg = dSpecificationEnum.getMsg();
    }
}
